
import { Component } from 'react'

export default class List extends Component {
  render() {
    const list = new Array(100).fill().map((_, i) => i);
    return (
      <div style={{height: "300px", overflow: 'scroll'}}>
        <ul>
          {
            list.map((v, i) => <li key={i}>{v}</li>)
          }
        </ul>
      </div>
    )
  }
}
